#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main(void)
{
	int a = 0, b = 0, c = 0;
	double p = 0, s = 0, area = 0;
	double circumference = 0;
	scanf("%d %d %d", &a, &b, &c);
	circumference = a + b + c;
	p = 1.0 / 2.0 * circumference;
	s = p * (p - a) * (p - b) * (p - c);
	area = sqrt(s);
	printf("circumference=%.2lf area=%.2lf",
		circumference, area);
	return 0;
}